package com.sctvcloud.bazhong.beans;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yuxipan on 2018-02-07.
 */

public class AdvertBean implements Serializable {
    private AdvertBean advertData;
    private String advertId;    //广告Id	string
    private int adType;// 1 新闻广告， 2 商品广告
    private int position;// 1 为首页浮层广告， 2 为精选底部浮层广告
    private String contentUrl;//	跳转链接	string
    private String imageUrl;    ///广告图片	string
    private int showCount;//	显示次数（0表示每次启动都显示）	number
    private int showTime;//	显示时间/秒（0表示只能用户手动关闭）	number
    private int versionCode;//	数据版本	number
    private String productType;// 1 是普通商品， 2 是第三方商品
    private String productUrl;// 商品链接 URL
    private String productJson;// 商品数据json
    private List<NewsUrl> newsUrlList;

    public String getAdvertId() {
        return advertId;
    }

    public void setAdvertId(String advertId) {
        this.advertId = advertId;
    }

    public String getContentUrl() {
        return contentUrl;
    }

    public void setContentUrl(String contentUrl) {
        this.contentUrl = contentUrl;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public int getShowCount() {
        return showCount;
    }

    public void setShowCount(int showCount) {
        this.showCount = showCount;
    }

    public int getShowTime() {
        return showTime;
    }

    public void setShowTime(int showTime) {
        this.showTime = showTime;
    }

    public int getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(int versionCode) {
        this.versionCode = versionCode;
    }

    public AdvertBean getAdvertData() {
        return advertData;
    }

    public void setAdvertData(AdvertBean advertData) {
        this.advertData = advertData;
    }

    public int getAdType() {
        return adType;
    }

    public void setAdType(int adType) {
        this.adType = adType;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getProductUrl() {
        return productUrl;
    }

    public void setProductUrl(String productUrl) {
        this.productUrl = productUrl;
    }

    public String getProductJson() {
        return productJson;
    }

    public void setProductJson(String productJson) {
        this.productJson = productJson;
    }

    public List<NewsUrl> getNewsUrlList() {
        return newsUrlList;
    }

    public void setNewsUrlList(List<NewsUrl> newsUrlList) {
        this.newsUrlList = newsUrlList;
    }

    public class NewsUrl implements Serializable{
        private String newsUrl;

        public String getNewsUrl() {
            return newsUrl;
        }

        public void setNewsUrl(String newsUrl) {
            this.newsUrl = newsUrl;
        }
    }
}
